/**
 * Copyright 2025 CloudDetail
 * SPDX-License-Identifier: Apache-2.0
 */

.collapse {
  background: transparent;
  :global {
    .ant-collapse-item-active .ant-collapse-header {
      background-color: var(--active-collapse-bg);
      // background-color: #28334e;
      //   background-color: #3A5A89;
      border-radius: 8px 8px 0 0;
      span {
        color: var(--ant-color-text-light-solid);
      }
    }
    .ant-collapse-item {
      background-color: var(--collapse-bg);
      border-radius: 8px !important;
      //   background-color: #3A5A89;
      .ant-collapse-item-active {
        border-radius: 8px;
        box-shadow: none;
      }
      .ant-collapse-header {
        border-left: 10px solid var(--active-collapse-bg);
        border-radius: 8px !important;
        display: flex;
        align-items: center;
      }
      box-shadow: 0 0 4px rgba(24, 104, 220, 0.5);
    }
    .ant-collapse-content-box {
      padding: 4px !important;
    }
  }
}
